package com.example.demo.common.enums;

import lombok.Getter;

/**
 * @author 9523
 * @version V1.0
 * @Project demo
 * @Package com.example.demo.common.enums
 * @Description: 删除状态
 * @Date 2024/9/4 10:51
 */
@Getter
public enum DataEnum {

    /**
     * 系统删除状态 - 生效
     */
    DEL_FAG_VALID(0, "正常"),

    /**
     * 系统删除状态 - 失效
     */
    DEL_FAG_INVALID(1, "已删除");


    private final Integer code;

    private final String msg;

    DataEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

}
